<template>
<h3>Parent</h3>
<Child :title="title" :demo="message" :age="age" :names="names" :userinfo="userinfo"/>
</template>
<script>
import Child from './Child.vue'

export default{
    data() {
        return {
            title:"测试标题001",
            message:"测试Parent数据",
            age:30,
            names:["test1","dtef","yert"],
            userinfo:{
                name:"jack111",
                age:21,
                
            }
        }
    },
    components:{
        Child
    }
}
</script>